* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clearfix::before,
.clearfix::after {
    content: '';
    display: block;
    line-height: 0;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    zoom: 1;
}

@mixin bgc($url, $size) {
    background: url($url) no-repeat center /100% 100%;
    position: absolute;
    left: 50%;
    margin-left: (-$size/32/2)*1rem
}

@mixin bg($url) {
    background: url($url) no-repeat center /100% 100%;
    position: absolute;
}

@mixin wh($width,$height){
    width: ($width/32)*1rem;
    height:($height/32)*1rem
}

@function pt($size){
    @return ($size/32)*1rem
}